import { createRouter, createWebHistory } from "vue-router";
const base = import.meta.env.MODE === "production" ? "/img2video" : "";
const router = createRouter({
  history: createWebHistory(base),
  routes: [
    {
      path: "/",
      component: () => import("@/views/index.vue"),
    },
  ],
});

export default router;
